package cn.cellcom.agent.online.message;

import java.io.Serializable;

public class MessageConstant implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 5356605559648780034L;

	/**
	 * 归档的消息
	 * 
	 * @author zhengyj
	 * 
	 */
	public enum ARCHIVE_EVENT {
		INIT_SSN, OFFLINE, CHAT, QUEUE_RECEIVE_ED, ENTER_GROUP_RESULT, QUEUE_OVER_TIME, AG_END_SESSION, SILENT_END, AG_RECEIVE_SESSION, RE_VISIT,
		AG_INVITE_AGENT, AG_ACCEPT_INVITE, AG_END_INVITE, AG_REJECT_INVITE, BY_AG_LOGOUT, LW, AG_TRANSFER2_AGENT
	}

	/**
	 * 消息事件
	 * 
	 * @author zhengyj
	 * 
	 */
	public enum MESSAGE_EVENT {
		GET_GROUP, CHAT, RECEIPT, SESSION, GROUP_LIST, NOTIFY, QUESTION_LIST, ENTER_GROUP, END_SESSION, CANCEL_QUEUE, AG_CHANGE_STATUS,
		AG_CHANGE_MAXCHAT, AG_GROUP_AND_MEMBERS, AG_JOIN_GROUP, AG_END_SESSION, AG_RECEIVE_SESSION, DO_SATISFY, LEAVEWORD, AG_LOGOUT,
		AG_SEND_SATISFY, AG_INVITE_AGENT, AG_ACCEPT_INVITE, AG_REJECT_INVITE, AG_CANCEL_INVITE, AG_TRANSFER2_AGENT
	};

	/**
	 * 归档消息的查看策略
	 * 
	 * @author zhengyj
	 * 
	 */
	public enum ARCHIVE_SHOW_POLICY {
		ALL, MANAGER_AND_AGENT, ONLY_MANAGER;
	};

	/**
	 * 消息通知的类型
	 * 
	 * @author zhengyj
	 * 
	 */
	public enum MESSAGE_NOTIFY {
		AGENT_CONFIG, JOIN_GROUP, NO_AGENT_ONLINE, NO_SERVICE_TIME, ENTER_SELF, QUEUE_POSITION, ERROR, WE_ARE_TALKING, AGENT_TALKING,
		ADD_TO_QUEUE_FINISH, REMOVE_FORM_QUEUE_FINISH, CONTINUE_SELF, QUEUE_RECEIVE_ED, QUEUE_ADD_ED, QUEUE_CANCEL_ED, INVITE, MEMBER_STATUS,
		AG_END_SESSION_ED, END_SESSION, AUTO_TO_MANUAL, AG_SEND_SATISFY, QUEUE_OVER_TIME, AG_INVITE_AGENT, AG_INVITE_AGENT_CANCEL_ED,
		AG_INVITE_AGENT_ACCEPT_ED, AG_INVITE_AGENT_REJECT_ED, AG_INVITE_AGENT_END, AG_TRANSFER2_AGENT, AG_TRANSFER2_SUCCESS
	};

	/**
	 * 消息的多媒体类型
	 * 
	 * @author zhengyj
	 * 
	 */
	public enum MULIT_TYPE {
		TEXT, FILE, AUDIO, VIDEO, RICH, IMG, ORDER, MAP
	}

	/**
	 * 系统消息
	 */
	public static final String SYSTEM = "system";;
}
